package com.yy.glide;

import com.yy.glide.recycle.Resource;

public interface MemoryCache {
    Resource put(Key key, Resource resource);

    Resource removeResource(Key key);

    void setResourceRemoveListener(ResourceRemoveListener listener);

    interface ResourceRemoveListener {
        void onResourceRemove(Resource resource);
    }
}
